-- GENERATED SPELL FOR [Corastrasza] --


function spell0_32548(pUnit, Event) --@Scriptcast Drake-Summon,n/a--
pUnit:FullCastSpellOnTarget(61287,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32548', 604, 1)
end

function Sorts_32548(pUnit, Event)
local choix_sorts_32548 = math.random(0, 0)
if choix_sorts_32548 == 0 then
pUnit:RegisterEvent('spell0_32548', 1, 1)
end
end

function mob32548_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32548', math.random(1500, 3000), 1)
end

function mob32548_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32548_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32548_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32548, 1, 'mob32548_Action')
RegisterUnitEvent(32548, 2, 'mob32548_Leave')
RegisterUnitEvent(32548, 3, 'mob32548_Kill')
RegisterUnitEvent(32548, 4, 'mob32548_Die')
